package com.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 功能：
 * 作者：刘涵茹
 * 日期：2024/4/1 11:03
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Pay {

    @TableId(type = IdType.AUTO)//自增
    private Integer id;

    private String name;
    private String payNo;
    private String money;
    private Integer buyerId;
    private String payTime;

    @TableField(exist = false)
    private String buyer;

}
